package com.wyp.design.pattern.behavior.chainofresponsibility;

/**
 * 责任链模式 核心点,该类拥有一个该类子类实现类的引用
 */
public abstract class Approver {
    protected Approver approver;

    public void setNextApprover(Approver approver) {
        this.approver = approver;
    }

    public abstract void deploy(Course course);
}
